package com.shirley.serialportlib.entity;

import java.io.File;
import java.io.Serializable;

/**
 * Description:
 * Created by Shirley
 * Date: 2019/12/5 19:54
 * Author: Kongqw
 */
public class Device implements Serializable {

    private String name;
    private String root;
    private File file;

    public Device(String devicesName, String driverName, File file) {
        this.name = devicesName;
        this.root = driverName;
        this.file = file;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoot() {
        return root;
    }

    public void setRoot(String root) {
        this.root = root;
    }

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }
}
